﻿using System.Windows.Media;
using SensorDrone.Net;
using SimpleMvvmToolkit;

namespace SensorDroneStudio.ViewModels
{
    public class DroneSummaryViewModel : ViewModelDetailBase<DroneSummaryViewModel, ISensorDrone>
    {
        public DroneSummaryViewModel(ISensorDrone sensor)
        {
            Model = sensor;
        }

        public string Name
        {
            get { return Model.Name; }
        }

        public string Version
        {
            get { return Model.Version; }
        }

        public string Address
        {
            get { return Model.Address; }
        }

        public Color Connected
        {
            get { return Colors.GreenYellow; }
        }
    }
}